<?php
$this->load->model('commonmodel');
$customlinks_id=28;
$destination_array= $this->commonmodel->get_mainmenu_list(30, 0, $customlinks_id);  
?>
 <div><img src="<?php echo base_url(); ?>images/destination_guide_top.jpg" width="199" height="40" /></div>
    <div id="right_menu"><ul>
        <?php
          foreach ($destination_array as $dest_details) :
          ?>
            <li><a href="<?php echo base_url(); ?>pages/details/<?php echo $dest_details['mainmenu_id']; ?>/<?php echo $customlinks_id; ?>" style="text-transform:capitalize"><?php echo strtolower($dest_details['title']); ?></a></li>
          <?php endforeach; ?>
       </ul></div>
    <div class="more-destination"><a href="#">More Destinations</a></div>
